﻿using Medical.Domain.Base;
using Medical.Domain.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Medical.Domain.Wms
{
    /// <summary>
    /// 入库明细表
    /// </summary>
    public class WmsStorageDetail:BaseEntity
    {
        /// <summary>
        /// 入库主表Id
        /// </summary>
        public int StorageId { get; set; }
        /// <summary>
        /// 物品Id
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 物品类型
        /// </summary>
        public MaterialTypeEnum MaterialType { get; set; }
        /// <summary>
        /// 物品编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int StorageNum { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? MaterialSpecs { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal MaterialPrice { get; set; }
        /// <summary>
        /// 注册证号
        /// </summary>
        public string? RegisterNo { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime ProduceDate { get; set; }
        /// <summary>
        /// 灭菌日期
        /// </summary>
        public DateTime SterilizaDate { get; set; }
        /// <summary>
        /// 失效日期
        /// </summary>
        public DateTime LapseDate { get; set; }



    }
}
